package com.ktjiaoyu.service;

import com.ktjiaoyu.entity.Entry;
import com.ktjiaoyu.utils.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 黄军艳
 * @version 1.0
 * @date 2024/12/27  10:29
 */
public interface EntryService {
    public Page<Entry> findPage(Entry entry,Integer pageNo,Integer pageSize);

    public boolean insert(Entry entry);

    public Entry selectById(@Param("id") Long id);

    public boolean update(Entry entry);

    public Entry selectByTitle(@Param("title") String title);

    public boolean delete(@Param("id") Long id);
}
